package com.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * repairs
 * @author 
 */
@Data
public class Repairs implements Serializable {
    private Integer id;

    private String position;

    private String repairtype;

    private String repairpeople;

    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime hopetime;

    private Integer repstateid;

    private Integer plotid;

    private Integer employee;

    private Double money;

    private Integer istype;

    private String img;

    private Plot plot;

    private Repairstate repairstate;

    private User user;

    private static final long serialVersionUID = 1L;
}